package com.gouying.design.patterns.prototype;

import lombok.Data;

@Data
public class Animal implements Cloneable {

    private String name;

    private String type;

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
